package com.zbkj.service.dao.water;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbkj.common.model.water.RzDevice;
import com.zbkj.common.model.water.RzStore;
import com.zbkj.common.request.water.RzStoreSaveRequest;
import com.zbkj.common.request.water.RzStoreSaveReturn;
import com.zbkj.common.request.water.RzStoreSearchRequest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 店铺表 Mapper 接口
 * +----------------------------------------------------------------------
 * | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
 * +----------------------------------------------------------------------
 * | Author: CRMEB Team <admin@crmeb.com>
 * +----------------------------------------------------------------------
 */
public interface RzStoreDao extends BaseMapper<RzStore> {

    List<RzStoreSaveReturn> selectPageList(@Param("req") RzStoreSearchRequest request);

    List<RzDevice> selectDevicesByStoreId(@Param("storeId") Integer storeId);
}
